//
//  CustomSlideCell.m
//  iShop
//
//  Created by svp on 1/11/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "CustomSlideCell.h"


@implementation CustomSlideCell

@synthesize slide = _slide;
@synthesize slideValue = _slideValue;
@synthesize delegate = _delegate;


-(IBAction) slideChange:(id) sender
{
	_slideValue.text = [NSString stringWithFormat:@"%.2f",_slide.value];
	if (_delegate && [_delegate respondsToSelector:@selector(customSlideCellchangeValue:)]) {
		[_delegate customSlideCellchangeValue:self];
	}
}

@end
